package bean;

public class Student{
    private String sid;//学号
    private String password;//密码
    private String name;//姓名
    private String department;//院系
    private String grade ;//年级
    private String phone;//手机
    private String email;//邮箱
    private int creditscore;//信誉积分
    // 构造函数
    public Student() {}

    public Student( String sid,String password,String name,String department,String grade,String phone,String email,int creditscore) {
        this.sid = sid;
        this.password = password;
        this.name = name;
        this.department = department;
        this.grade = grade;
        this.phone = phone;
        this.email = email;
        this.creditscore = creditscore;

    }
    /*
    public int getid() {
       return id;
   }

   public void setid(int id) {
       this.id = id;
   }
   */
    //学号
    public String getsid() {
        return sid;
    }

    public void setsid(String tid) {
        this.sid = tid;
    }

    //密码
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    //姓名
    public String getname() {
        return name;
    }

    public void setname(String name) {
        this.name = name;
    }
    //院系
    public String getdepartment() {
        return department;
    }
    public void setdepartment(String department) {
        this.department = department;
    }
    // 年纪
    public String getgrade() {
        return grade;
    }
    public void setgrade(String grade) {
        this.grade = grade;
    }
    //手机
    public String getphone() {
        return phone;
    }

    public void setphone(String phone) {
        this.phone = phone;
    }
    //邮箱
    public String getsex() {
        return email;
    }

    public void setsex(String email) {
        this.email = email;
    }
    //信誉积分
    public int getcreditscore() {
        return creditscore;
    }

    public void setcreditscore(int creditscore) {
        this.creditscore = creditscore;
    }


}
